import React from 'react';
import { Router, Route, Link, browserHistory } from 'react-router';
import {message } from 'antd';


message.config({
  top: 100,
  duration: 2,
});
//路由
import router from './router';

import Login from './authority/Login';
import 'antd.css';


export default class App extends React.Component{
    render(){
        return (
            <Router history={browserHistory}>
                <Route path="/login" component={Login}/>
                <Route path="/logout" component={Login}/>
            </Router>
        );
    }
}
